package com.auxgroup.hr.front.dao.domain;

import java.io.Serializable;
import java.math.BigDecimal;

/** 
 * @author lvliuhao 
 * @version 创建时间：2018年9月21日 下午6:03:10 
 * 类说明 
 */
public class PsCEpAppRstVwPrimary implements Serializable {
	
	private static final long serialVersionUID = -2197794472975054256L;
	
	private String cEpAppraisalId;
	private String oprid;
	private BigDecimal version;
	private String year;
	public String getcEpAppraisalId() {
		return cEpAppraisalId;
	}
	public void setcEpAppraisalId(String cEpAppraisalId) {
		this.cEpAppraisalId = cEpAppraisalId;
	}
	public String getOprid() {
		return oprid;
	}
	public void setOprid(String oprid) {
		this.oprid = oprid;
	}
	public BigDecimal getVersion() {
		return version;
	}
	public void setVersion(BigDecimal version) {
		this.version = version;
	}
	public String getYear() {
		return year;
	}
	public void setYear(String year) {
		this.year = year;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((cEpAppraisalId == null) ? 0 : cEpAppraisalId.hashCode());
		result = prime * result + ((oprid == null) ? 0 : oprid.hashCode());
		result = prime * result + ((version == null) ? 0 : version.hashCode());
		result = prime * result + ((year == null) ? 0 : year.hashCode());
		return result;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		PsCEpAppRstVwPrimary other = (PsCEpAppRstVwPrimary) obj;
		if (cEpAppraisalId == null) {
			if (other.cEpAppraisalId != null)
				return false;
		} else if (!cEpAppraisalId.equals(other.cEpAppraisalId))
			return false;
		if (oprid == null) {
			if (other.oprid != null)
				return false;
		} else if (!oprid.equals(other.oprid))
			return false;
		if (version == null) {
			if (other.version != null)
				return false;
		} else if (!version.equals(other.version))
			return false;
		if (year == null) {
			if (other.year != null)
				return false;
		} else if (!year.equals(other.year))
			return false;
		return true;
	}

	
}
 